package com.lanou3g.bean;

import java.util.List;

//@JsonIgnoreProperties({"handler","hibernateLazyInitializer"})
public class Compony{
	
	private Integer id;
	private String componyName;
	private String componyAddress;
	private List<Person> personList;
	
	public List<Person> getPersonList() {
		return personList;
	}
	public void setPersonList(List<Person> personList) {
		this.personList = personList;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getComponyName() {
		return componyName;
	}
	public void setComponyName(String componyName) {
		this.componyName = componyName;
	}
	public String getComponyAddress() {
		return componyAddress;
	}
	public void setComponyAddress(String componyAddress) {
		this.componyAddress = componyAddress;
	}
	public Compony() {
		super();
	}
	public Compony(Integer id, String componyName, String componyAddress) {
		super();
		this.id = id;
		this.componyName = componyName;
		this.componyAddress = componyAddress;
	}
	@Override
	public String toString() {
		return "Compony [id=" + id + ", componyName=" + componyName + ", componyAddress=" + componyAddress + "]";
	}
	
	

}
